//REQUIRED CLASS
package project2;

import project1.*;

public class DatalogProgram
{
	private SchemeList schemes;
	private FactList facts;
	private RuleList rules;
	private QueryList queries;
	public DatalogProgram(SchemeList schemes, FactList facts, RuleList rules, QueryList queries){
		this.schemes = schemes;
		this.facts = facts;
		this.rules = rules;
		this.queries = queries;
	}
	public String toString(){
		return schemes.toString()+"\n"+facts.toString()+"\n"+rules.toString()+"\n"+queries.toString();
	}
	public SchemeList getSchemes(){
		return this.schemes;
	}
	public FactList getFacts(){
		return this.facts;
	}
	public QueryList getQueries(){
		return this.queries;
	}
}
